gtk4.git
17 years agoBug 553585 – Add orientation API to GtkRuler
Michael Natterer [Thu, 2 Oct 2008 15:13:23 +0000 (15:13 +0000)]
Bug 553585 – Add orientation API to GtkRuler

2008-10-02  Michael Natterer  <mitch@imendio.com>

Bug 553585 – Add orientation API to GtkRuler

* gtk/gtkruler.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
which takes a GtkOrientation argument.

* gtk/gtkhruler.c
* gtk/gtkvruler.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_ruler_new().

svn path=/trunk/; revision=21565

17 years agoAdd gtk_selection_data_get_selection to retrieve the sealed struct field
Torsten Schönfeld [Wed, 1 Oct 2008 18:53:49 +0000 (18:53 +0000)]
Add gtk_selection_data_get_selection to retrieve the sealed struct field
GtkSelectionData.selection.

svn path=/trunk/; revision=21564

17 years agoUpdated Brazilian Portuguese translation.
Og B. Maciel [Wed, 1 Oct 2008 15:49:15 +0000 (15:49 +0000)]
Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=21563

17 years agoremove debug spew
Matthias Clasen [Wed, 1 Oct 2008 14:34:12 +0000 (14:34 +0000)]
remove debug spew

svn path=/trunk/; revision=21561

17 years agoDon't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
Tor Lillqvist [Wed, 1 Oct 2008 11:02:51 +0000 (11:02 +0000)]
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.

2008-10-01  Tor Lillqvist  <tml@novell.com>

* gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
confuses newest mingw headers.

svn path=/trunk/; revision=21559

17 years agoImplement trivially on Windows. Not sure if something more complex is
Tor Lillqvist [Wed, 1 Oct 2008 11:02:22 +0000 (11:02 +0000)]
Implement trivially on Windows. Not sure if something more complex is

2008-10-01  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
Implement trivially on Windows. Not sure if something more complex
is actually needed, more specifically whether the function needs
to differentiate between "Caps Lock" and "Shift Lock" semantics?

svn path=/trunk/; revision=21558

17 years agoFixed Bug 554506 – combining diacritics broken, became deadkeys
Simos Xenitellis [Wed, 1 Oct 2008 10:53:51 +0000 (10:53 +0000)]
Fixed Bug 554506 – combining diacritics broken, became deadkeys

svn path=/trunk/; revision=21557

17 years agoDon't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
Tor Lillqvist [Wed, 1 Oct 2008 10:43:02 +0000 (10:43 +0000)]
Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.

2008-10-01  Tor Lillqvist  <tml@novell.com>

* io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
newest mingw headers.

svn path=/trunk/; revision=21555

17 years agoadd gtk_separator_new.
Michael Natterer [Tue, 30 Sep 2008 14:33:36 +0000 (14:33 +0000)]
add gtk_separator_new.

2008-09-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtk-sections.txt: add gtk_separator_new.

svn path=/trunk/; revision=21554

17 years agoBug 553582 – Add orientation API to GtkSeparator
Michael Natterer [Tue, 30 Sep 2008 14:20:30 +0000 (14:20 +0000)]
Bug 553582 – Add orientation API to GtkSeparator

2008-09-30  Michael Natterer  <mitch@imendio.com>

Bug 553582 – Add orientation API to GtkSeparator

* gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHSeparator and GtkVSeparator. Add
gtk_separator_new() which takes a GtkOrientation argument.

* gtk/gtkhseparator.c
* gtk/gtkvseparator.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_separator_new().

svn path=/trunk/; revision=21553

17 years agoBug 344522 – support non-local destination files (GtkPrint):
Marek Kasik [Tue, 30 Sep 2008 08:45:01 +0000 (08:45 +0000)]
Bug 344522 – support non-local destination files (GtkPrint):

2008-09-30  Marek Kasik  <mkasik@redhat.com>

Bug 344522 – support non-local destination files (GtkPrint):

* gtk/gtkprintunixdialog.c
* gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
* modules/printbackends/file/gtkprintbackendfile.c: Add ability
to save files on non-local filesystems.

svn path=/trunk/; revision=21552

17 years agoforgot the G_GNUC_CONST of gtk_orientable_get_type().
Michael Natterer [Tue, 30 Sep 2008 08:37:34 +0000 (08:37 +0000)]
forgot the G_GNUC_CONST of gtk_orientable_get_type().

2008-09-30  Michael Natterer  <mitch@imendio.com>

* gtk/gtk.symbols: forgot the G_GNUC_CONST of
gtk_orientable_get_type().

svn path=/trunk/; revision=21551

17 years agoBug 541009 – Get rid of separate subclasses for horizontal and vertical
Michael Natterer [Tue, 30 Sep 2008 08:14:11 +0000 (08:14 +0000)]
Bug 541009 – Get rid of separate subclasses for horizontal and vertical

2008-09-30  Michael Natterer  <mitch@imendio.com>

Bug 541009 – Get rid of separate subclasses for horizontal and
vertical orientation:

* gtk/Makefile.am
* gtk/gtk.symbols
* gtk/gtk.h
* gtk/gtkorientable.[ch]: add new interface GtkOrientable which
will be implemented by everything that can switch orientation.

svn path=/trunk/; revision=21550

17 years agoFix a typo in the tutorial.
Christian Dywan [Tue, 30 Sep 2008 01:29:26 +0000 (01:29 +0000)]
Fix a typo in the tutorial.

2008-09-30  Christian Dywan  <christian@imendio.com>

Fix a typo in the tutorial.

* docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.

svn path=/trunk/; revision=21549

17 years agoBug 553086 – hard to see current immodule
Matthias Clasen [Tue, 30 Sep 2008 00:58:39 +0000 (00:58 +0000)]
Bug 553086 – hard to see current immodule

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 553086 – hard to see current immodule

        * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
        Display the actually selected context in the system menuitem.
        Complaint by Akira Tagoh.

svn path=/trunk/; revision=21548

17 years agoBug 530568 – Entries with visibility=FALSE should warn for caps-lock on
Matthias Clasen [Mon, 29 Sep 2008 21:57:29 +0000 (21:57 +0000)]
Bug 530568 – Entries with visibility=FALSE should warn for caps-lock on

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
        on

        * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
        password entries. The warning is also triggered if an input method
        is active. The warning can be turned off using the
        GtkEntry::caps-lock-warning property.
        Proposed by Owen Taylor

svn path=/trunk/; revision=21547

17 years agoAdd a getter for the the sealed context_id field.
Matthias Clasen [Mon, 29 Sep 2008 20:55:31 +0000 (20:55 +0000)]
Add a getter for the the sealed context_id field.

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
        Add a getter for the the sealed context_id field.

svn path=/trunk/; revision=21546

17 years agoBug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
Matthias Clasen [Mon, 29 Sep 2008 20:40:45 +0000 (20:40 +0000)]
Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.

        * gdk/gdk.symbols:
        * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
        a gdk_keymap_get_caps_lock_state function.

        * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
        state-changed when caps lock lockedness changes.

        * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
        changes in the XkbSelectEventDetails call.

svn path=/trunk/; revision=21545

17 years agoBug 487624 - Tooltips doesn't get updated if ther's no mouse motion over
Kristian Rietveld [Mon, 29 Sep 2008 16:44:10 +0000 (16:44 +0000)]
Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion over

2008-09-29  Kristian Rietveld  <kris@imendio.com>

Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
over widget

* gtk/gtkwidget.c (gtk_widget_set_property): after updating
tooltip text or markup, call gtk_widget_trigger_tooltip_query()
so that existing visible tooltips are updated.

svn path=/trunk/; revision=21544

17 years agoBug 371908 – Password Entry broken Bug 317002 – Disable input method
Matthias Clasen [Mon, 29 Sep 2008 14:28:19 +0000 (14:28 +0000)]
Bug 371908 – Password Entry broken Bug 317002 – Disable input method

2008-09-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 371908 – Password Entry broken
        Bug 317002 – Disable input method completely in GtkEntry when it's
        in invisible mode.

        * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
        properly when invisible.

        * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
        invisible.

        * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
        methods when making the entry invisible.

svn path=/trunk/; revision=21543

17 years agoCorrectly chain up the finalize implementation.
Emmanuele Bassi [Mon, 29 Sep 2008 10:54:50 +0000 (10:54 +0000)]
Correctly chain up the finalize implementation.

2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>

* gdk/x11/gdkinput.c:
(gdk_device_class_init), (gdk_device_finalize): Correctly chain
up the finalize implementation.

svn path=/trunk/; revision=21542

17 years agoBug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
Richard Hult [Mon, 29 Sep 2008 10:41:07 +0000 (10:41 +0000)]
Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c

2008-09-29  Richard Hult  <richard@imendio.com>

Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c

* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
Patch from Jon A. Cruz to initialize the allocated selection data.

svn path=/trunk/; revision=21540

17 years agoBug 339367 – Incorrect spotlocation
Matthias Clasen [Sun, 28 Sep 2008 03:21:15 +0000 (03:21 +0000)]
Bug 339367 – Incorrect spotlocation

2008-09-27  Matthias Clasen  <mclasen@redhat.com>

        Bug 339367 – Incorrect spotlocation

        * modules/input/gtkimcontextxim.c: Correct the spot location
        for on-the-spot style.

svn path=/trunk/; revision=21537

17 years agoUpdated Catalan translation by David Planella
Gil Forcada Codinachs [Sat, 27 Sep 2008 16:43:16 +0000 (16:43 +0000)]
Updated Catalan translation by David Planella

svn path=/trunk/; revision=21535

17 years agoonly draw keyboard focus when keyboard navigation is used, like
Denis Washington [Sat, 27 Sep 2008 12:53:05 +0000 (12:53 +0000)]
only draw keyboard focus when keyboard navigation is used, like

2008-09-27  Denis Washington  <denisw@svn.gnome.org>

* gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
is used, like GtkTreeView. (Bug #553575)

svn path=/trunk/; revision=21534

17 years ago Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
Matthias Clasen [Sat, 27 Sep 2008 04:27:53 +0000 (04:27 +0000)]
    Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
        transparency

        * gtk/gtktrayicon-x11.c: Add support for the _BET_SYSTEM_TRAY_VISUAL
        property described in
        http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
        If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
        parent-relative-background hack is skipped and we draw with a real
        transparent background.

        * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
        parent-relative background is now set when realizing the tray
        icon.

        Patch by Owen Taylor

svn path=/trunk/; revision=21531

17 years agoBug 552956 – Should check composite extension version
Matthias Clasen [Sat, 27 Sep 2008 03:43:50 +0000 (03:43 +0000)]
Bug 552956 – Should check composite extension version

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 552956 – Should check composite extension version

        * gdk/x11/gdkdisplay-x11.c: Check that the version of the
        composite extension is at least 0.4.
        Patch by Owen Taylor

svn path=/trunk/; revision=21530

17 years ago Bug 553803 – eventually call XCloseDevice on XOpenDevice results
Matthias Clasen [Sat, 27 Sep 2008 00:47:45 +0000 (00:47 +0000)]
    Bug 553803 – eventually call XCloseDevice on XOpenDevice results

        * gdk/x11/gdkinput.c: Add a finalize function for device objects,
        and call XCloseDevice there.

        * gdk/x11/gdkinput-x11.c:
        * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
        the finalize function.
        Patch by Caolan McNamara

svn path=/trunk/; revision=21529

17 years agoForgotten log entry
Matthias Clasen [Sat, 27 Sep 2008 00:20:42 +0000 (00:20 +0000)]
Forgotten log entry

svn path=/trunk/; revision=21527

17 years agoBug 553578 - tabs are not drawn correctly
Matthias Clasen [Fri, 26 Sep 2008 23:58:12 +0000 (23:58 +0000)]
Bug 553578 - tabs are not drawn correctly

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553578 - tabs are not drawn correctly

        * gtk/gtknotebook.c: Track the visibility state of notebook tabs
        between allocations so that we know to redraw the tab labels if
        tabs are hidden and shown without changing position.
        Reported by Marek Kašík, patch by Owen Taylor.

svn path=/trunk/; revision=21525

17 years agoBug 553133 – GtkFileChooser won't ask to mount a volume
Matthias Clasen [Fri, 26 Sep 2008 19:25:35 +0000 (19:25 +0000)]
Bug 553133 – GtkFileChooser won't ask to mount a volume

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553133 – GtkFileChooser won't ask to mount a volume

        * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
        a GtkMountOperation when mounting, so that we get a password
        dialog when required.

svn path=/trunk/; revision=21523

17 years agoBug 553917 – Typo in gdkwindow-win32.c
Cody Russell [Fri, 26 Sep 2008 16:47:58 +0000 (16:47 +0000)]
Bug 553917 – Typo in gdkwindow-win32.c

2008-09-26  Cody Russell  <bratsche@gnome.org>

        Bug 553917 – Typo in gdkwindow-win32.c

        * gdk/win32/gdkwindow-win32.c: Fixed a typo in
        update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.

        Reported by Richard Hult

svn path=/trunk/; revision=21522

17 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 25 Sep 2008 17:54:18 +0000 (17:54 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=21521

17 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 25 Sep 2008 17:50:06 +0000 (17:50 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=21520

17 years agoBug 553241 – double freed pointer in lpr_write cause firefox3 crash
Marek Kasik [Thu, 25 Sep 2008 11:46:35 +0000 (11:46 +0000)]
Bug 553241 – double freed pointer in lpr_write cause firefox3 crash

2008-09-25  Marek Kasik  <mkasik@redhat.com>

Bug 553241 – double freed pointer in lpr_write cause firefox3 crash

* modules/printbackends/lpr/gtkprintbackendlpr.c:
The redundant freeing of memory was removed.

Patch by Chris Wang

svn path=/trunk/; revision=21516

17 years agodon't unref the file system backend, the newly added
Michael Natterer [Thu, 25 Sep 2008 11:22:34 +0000 (11:22 +0000)]
don't unref the file system backend, the newly added

2008-09-25  Michael Natterer  <mitch@imendio.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
don't unref the file system backend, the newly added
unset_file_system_backend() already does this (bug #553135).

svn path=/trunk/; revision=21514

17 years agoevents return gboolean not gint, reindented static prototypes.
Michael Natterer [Wed, 24 Sep 2008 10:35:53 +0000 (10:35 +0000)]
events return gboolean not gint, reindented static prototypes.

2008-09-24  Michael Natterer  <mitch@imendio.com>

* gtk/gtkeventbox.c: events return gboolean not gint, reindented
static prototypes.

svn path=/trunk/; revision=21513

17 years agoBug 553385 – gtk-builder-convert creates untranslated combobox models
Johan Dahlin [Wed, 24 Sep 2008 09:59:05 +0000 (09:59 +0000)]
Bug 553385 – gtk-builder-convert creates untranslated combobox models

2008-09-24  Johan Dahlin  <johan@gnome.org>

    Bug 553385 – gtk-builder-convert creates untranslated combobox models

    * gtk/gtk-builder-convert: Set the translatable property on
    col tags for converted combos.

svn path=/trunk/; revision=21512

17 years agoInclude all of share/man, lib/pkgconfig, share/aclocal and share/gtk-doc
Tor Lillqvist [Wed, 24 Sep 2008 09:22:58 +0000 (09:22 +0000)]
Include all of share/man, lib/pkgconfig, share/aclocal and share/gtk-doc

2008-09-24  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
share/aclocal and share/gtk-doc instead of trying to list
individual files or subdirectories. We had missed gail.pc, for
instance.

svn path=/trunk/; revision=21511

17 years agoBug 538782 – Make GtkMenu's arrow size themable
Christian Dywan [Wed, 24 Sep 2008 08:56:10 +0000 (08:56 +0000)]
Bug 538782 – Make GtkMenu's arrow size themable

* gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
Implement "arrow-scaling" style property in GtkMenu.

svn path=/trunk/; revision=21509

17 years agoBug 408244 – add GtkDialog::content-area-spacing
Christian Dywan [Wed, 24 Sep 2008 08:41:46 +0000 (08:41 +0000)]
Bug 408244 – add GtkDialog::content-area-spacing

* gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
(_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
* gtk/gtkbox.h:
* gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
Implement "content-area-spacing" style property in GtkDialog
and internal helper _gtk_box_get_spacing_set in GtkBox.
Patch by Tim Janik, Sven Herzberg and myself.

svn path=/trunk/; revision=21508

17 years agoBug 541391 – Unfocussable Treeview swallows focus
Christian Dywan [Wed, 24 Sep 2008 08:19:51 +0000 (08:19 +0000)]
Bug 541391 – Unfocussable Treeview swallows focus

* gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
(gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly

svn path=/trunk/; revision=21507

17 years agodraw focus as a rectangle around the complete item, not just the text.
Denis Washington [Wed, 24 Sep 2008 08:04:15 +0000 (08:04 +0000)]
draw focus as a rectangle around the complete item, not just the text.

2008-09-24  Denis Washington  <denisw@svn.gnome.org>

* gtk/gtkiconview.c: draw focus as a rectangle around the
complete item, not just the text. (Bug #38254)

svn path=/trunk/; revision=21506

17 years agogtk/gtkobject.c s/GtkType/GType/ and
Michael Natterer [Tue, 23 Sep 2008 18:24:33 +0000 (18:24 +0000)]
gtk/gtkobject.c s/GtkType/GType/ and

2008-09-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtkobject.c
* gtk/gtksignal.[ch]: s/GtkType/GType/ and
s/GtkSignalMarshaller/GSignalCMarshaller/.

svn path=/trunk/; revision=21498

17 years agoprevent RLE encoding of 1x1 pixel images, since the encoder comparison
13:28:23 Tim Janik [Tue, 23 Sep 2008 11:30:35 +0000 (11:30 +0000)]
prevent RLE encoding of 1x1 pixel images, since the encoder comparison

2008-09-23 13:28:23  Tim Janik  <timj@imendio.com>

        * gdk-pixdata.c: prevent RLE encoding of 1x1 pixel images, since the
        encoder comparison operator requires at least 2 pixels, fixes #553374:
        Bug 553374 - gdk_pixdata_from_pixbuf fails for some images with use_rle set to TRUE

svn path=/trunk/; revision=21497

17 years agoremove unused variable and fix indentation.
Michael Natterer [Tue, 23 Sep 2008 10:46:46 +0000 (10:46 +0000)]
remove unused variable and fix indentation.

2008-09-23  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
variable and fix indentation.

svn path=/trunk/; revision=21496

17 years agogtk/gtkclist.h gtk/gtkctree.h gtk/gtklist.h gtk/gtklistitem.h
Michael Natterer [Tue, 23 Sep 2008 10:28:23 +0000 (10:28 +0000)]
gtk/gtkclist.h gtk/gtkctree.h gtk/gtklist.h gtk/gtklistitem.h

2008-09-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtkclist.h
* gtk/gtkctree.h
* gtk/gtklist.h
* gtk/gtklistitem.h
* gtk/gtkobject.h
* gtk/gtkoldeditable.h
* gtk/gtkpixmap.h
* gtk/gtkpreview.h
* gtk/gtktext.h
* gtk/gtktipsquery.h
* gtk/gtktree.h
* gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
in all deprecated headers.

svn path=/trunk/; revision=21495

17 years agoBug 553135 – eog crash: assertion failed. Gtk error:
Matthias Clasen [Mon, 22 Sep 2008 18:32:31 +0000 (18:32 +0000)]
Bug 553135 – eog crash: assertion failed. Gtk error:

2008-09-22  Matthias Clasen  <mclasen@redhat.com>

        Bug 553135 – eog crash: assertion failed. Gtk error:
        shortcuts_remove_rows: code should not be reached

        * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem
        signals when we are destroyed, in order to avoid nasty surprises.
        Patch by Claudio Saavedra

svn path=/trunk/; revision=21492

17 years agoBug 552789 – Show size column in the search and recently used files
Emmanuele Bassi [Mon, 22 Sep 2008 14:25:45 +0000 (14:25 +0000)]
Bug 552789 – Show size column in the search and recently used files

2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>

Bug 552789 – Show size column in the search and recently used
files modes

* gtk/gtkfilechooserdefault.c: Display the file size column
when in OPERATION_MODE_SEARCH. This removes a stat() call
and simplifies the code a little bit by changing the query
for file informations for each search engine hit.

svn path=/trunk/; revision=21491

17 years agos/GTK_SIGNAL_FUNC/G_CALLBACK/
Michael Natterer [Mon, 22 Sep 2008 11:00:40 +0000 (11:00 +0000)]
s/GTK_SIGNAL_FUNC/G_CALLBACK/

2008-09-22  Michael Natterer  <mitch@imendio.com>

* tests/ferret.c: s/GTK_SIGNAL_FUNC/G_CALLBACK/

svn path=/trunk/; revision=21489

17 years agogtk/gtksignal.[ch] gtk/gtkclist.c gtk/gtklist.c gtk/gtkmain.c
Michael Natterer [Mon, 22 Sep 2008 10:35:44 +0000 (10:35 +0000)]
gtk/gtksignal.[ch] gtk/gtkclist.c gtk/gtklist.c gtk/gtkmain.c

2008-09-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtksignal.[ch]
* gtk/gtkclist.c
* gtk/gtklist.c
* gtk/gtkmain.c
* gtk/gtktext.c
* gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.

svn path=/trunk/; revision=21488

17 years agouse the correct gi18n header. Fixes bug #553000.
Frederic Crozat [Mon, 22 Sep 2008 08:55:58 +0000 (08:55 +0000)]
use the correct gi18n header. Fixes bug #553000.

2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>

        * gtk/gtkfilesystem.c: use the correct gi18n header.
        Fixes bug #553000.

svn path=/trunk/; revision=21486

17 years agoadd "Deprecated: 2.4" to all the deprecated append(), prepend() and
Michael Natterer [Mon, 22 Sep 2008 08:35:21 +0000 (08:35 +0000)]
add "Deprecated: 2.4" to all the deprecated append(), prepend() and

2008-09-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
append(), prepend() and insert() functions and recommend to use
gtk_toolbar_insert() instead. Use GCallback instead of
GtkSignalFunc even in deprecated API.

svn path=/trunk/; revision=21485

17 years agoMalayalam translation updated by Hari Vishnu
Praveen Arimbrathodiyil [Sun, 21 Sep 2008 23:57:13 +0000 (23:57 +0000)]
Malayalam translation updated by Hari Vishnu

svn path=/trunk/; revision=21480

17 years agoUpdated Russian translation.
Nickolay V. Shmyrev [Sun, 21 Sep 2008 18:56:59 +0000 (18:56 +0000)]
Updated Russian translation.

2008-09-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* ru.po: Updated Russian translation.

svn path=/trunk/; revision=21477

17 years agoUpdated Russian translation by Yuriy Penkin.
Nickolay V. Shmyrev [Sun, 21 Sep 2008 18:19:45 +0000 (18:19 +0000)]
Updated Russian translation by Yuriy Penkin.

2008-09-21  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* ru.po: Updated Russian translation by Yuriy Penkin.

svn path=/trunk/; revision=21476

17 years agoTranslation updated.
Gabor Kelemen [Sun, 21 Sep 2008 16:29:55 +0000 (16:29 +0000)]
Translation updated.

2008-09-21  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=21475

17 years ago updated Kannada translation and ChangeLog
Shankar Prasad [Sun, 21 Sep 2008 09:35:50 +0000 (09:35 +0000)]
 updated Kannada translation and ChangeLog

svn path=/trunk/; revision=21473

17 years agoFix possible leaks of textutils
Matthias Clasen [Sun, 21 Sep 2008 05:33:50 +0000 (05:33 +0000)]
Fix possible leaks of textutils

svn path=/trunk/; revision=21470

17 years agoDon't leak a GFile
Matthias Clasen [Sun, 21 Sep 2008 05:21:00 +0000 (05:21 +0000)]
Don't leak a GFile

svn path=/trunk/; revision=21468

17 years agoUpdate Danish translation
Kenneth Nielsen [Sat, 20 Sep 2008 20:34:17 +0000 (20:34 +0000)]
Update Danish translation

svn path=/trunk/; revision=21466

17 years agoUpdated Danish translation
Kenneth Nielsen [Sat, 20 Sep 2008 20:30:55 +0000 (20:30 +0000)]
Updated Danish translation

svn path=/trunk/; revision=21465

17 years agoFix ChangeLog to fit in 80 columns.
Michael Natterer [Sat, 20 Sep 2008 10:30:40 +0000 (10:30 +0000)]
Fix ChangeLog to fit in 80 columns.

svn path=/trunk/; revision=21463

17 years agoUpdated Finnish translation
Ilkka Tuohela [Sat, 20 Sep 2008 10:04:39 +0000 (10:04 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=21460

17 years agoSmall cleanups to debug messages for GtkPlug/GtkSocket
Owen Taylor [Fri, 19 Sep 2008 22:52:33 +0000 (22:52 +0000)]
Small cleanups to debug messages for GtkPlug/GtkSocket

2008-09-19  Owen Taylor  <otaylor@redhat.com>

        Small cleanups to debug messages for GtkPlug/GtkSocket

        * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
        * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug messages.

svn path=/trunk/; revision=21458

17 years agoUpdated Serbian translation
Goran Rakic [Fri, 19 Sep 2008 19:24:31 +0000 (19:24 +0000)]
Updated Serbian translation

svn path=/trunk/; revision=21456

17 years agoPlug a small memory leak
Matthias Clasen [Fri, 19 Sep 2008 14:34:22 +0000 (14:34 +0000)]
Plug a small memory leak

svn path=/trunk/; revision=21451

17 years agoUpdated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Fri, 19 Sep 2008 14:19:10 +0000 (14:19 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>

2008-09-19  Mugurel Tudor  <mugurelu@gnome.ro>

* ro.po: Updated Romanian translation by
Mişu Moldovan <dumol@gnome.ro>

svn path=/trunk/; revision=21448

17 years agoUpdated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Fri, 19 Sep 2008 14:17:17 +0000 (14:17 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>

2008-09-19  Mugurel Tudor  <mugurelu@gnome.ro>

* ro.po: Updated Romanian translation by
Mişu Moldovan <dumol@gnome.ro>

svn path=/trunk/; revision=21447

17 years agoBug 83935 – GtkEntry's default invisible char should be U+25CF
Carlos Garnacho [Fri, 19 Sep 2008 13:45:07 +0000 (13:45 +0000)]
Bug 83935 – GtkEntry's default invisible char should be U+25CF

2008-09-19  Carlos Garnacho  <carlos@imendio.com>

        Bug 83935 – GtkEntry's default invisible char should be U+25CF

        * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
        more suitable invisible char than '*' based on the used font.
        (gtk_entry_class_init) (gtk_entry_set_property)
        (gtk_entry_get_property): Add a "invisible-char-set" property.
        (gtk_entry_unset_invisible_char): New function, needed now that the
        default invisible char isn't fixed.
        * gtk/gtkentry.h:
        * gtk/gtk.symbols:
        * docs/reference/gtk/gtk-sections.txt: Add the new function.

svn path=/trunk/; revision=21446

17 years ago Bug 552837 – mem leak in gtkimmulticontext
Christian Persch [Fri, 19 Sep 2008 12:28:30 +0000 (12:28 +0000)]
  Bug 552837 – mem leak in gtkimmulticontext

  * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
  leak.

svn path=/trunk/; revision=21445

17 years agoPlug a memory leak
Matthias Clasen [Fri, 19 Sep 2008 04:43:01 +0000 (04:43 +0000)]
Plug a memory leak

svn path=/trunk/; revision=21439

17 years agoUpdated British English translation.
Philip Withnall [Thu, 18 Sep 2008 22:56:43 +0000 (22:56 +0000)]
Updated British English translation.

2008-09-18  Philip Withnall  <philip@tecnocode.co.uk>

* en_GB.po: Updated British English translation.

svn path=/trunk/; revision=21438

17 years agoSave the size column visibility state with the rest of the FileChooser
Emmanuele Bassi [Thu, 18 Sep 2008 22:00:53 +0000 (22:00 +0000)]
Save the size column visibility state with the rest of the FileChooser

2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>

* gtk/gtkfilechooserdefault.c (settings_save): Save the size column
visibility state with the rest of the FileChooser settings.

svn path=/trunk/; revision=21437

17 years agoUpdated Portuguese translation.
Duarte Loreto [Thu, 18 Sep 2008 21:26:08 +0000 (21:26 +0000)]
Updated Portuguese translation.

2008-09-18  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=21436

17 years agoUpdated German translation.
Hendrik Richter [Thu, 18 Sep 2008 19:26:36 +0000 (19:26 +0000)]
Updated German translation.

2008-09-18  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=21435

17 years agoUpdated German translation.
Hendrik Richter [Thu, 18 Sep 2008 18:44:08 +0000 (18:44 +0000)]
Updated German translation.

2008-09-18  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

svn path=/trunk/; revision=21434

17 years agosv.po: Updated Swedish translation
Daniel Nylander [Thu, 18 Sep 2008 17:44:02 +0000 (17:44 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=21433

17 years agoUpdated Marathi Translations
Sandeep Shedmake [Thu, 18 Sep 2008 16:58:26 +0000 (16:58 +0000)]
Updated Marathi Translations

svn path=/trunk/; revision=21432

17 years agoBug 325095 – show a 'size' column
Emmanuele Bassi [Thu, 18 Sep 2008 15:29:33 +0000 (15:29 +0000)]
Bug 325095 – show a 'size' column

2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>

Bug 325095 – show a 'size' column

* gtk/gtkfilechooserdefault.c:
* gtk/gtkfilechooserprivate.h: Add a context menu item controlling
the visibility of the file size column. This works only for the
browse mode, and the column is not visible by default.

* gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
settings file.

svn path=/trunk/; revision=21431

17 years agoRevert most of previous patch, as it didn't work as expected; Some work
Dominic Lachowicz [Thu, 18 Sep 2008 15:28:19 +0000 (15:28 +0000)]
Revert most of previous patch, as it didn't work as expected; Some work

2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>

        * modules/engines/ms-windows/*: Revert most of previous patch, as it didn't work as expected;
        Some work toward #531086 - the new GtkTooltip widget doesn't theme properly on win32. Now, at least
        the background color seems okay
w

svn path=/trunk/; revision=21430

17 years agoMS Windows style should use pango_win32_font_description_from_logfont;
Dominic Lachowicz [Thu, 18 Sep 2008 15:02:53 +0000 (15:02 +0000)]
MS Windows style should use pango_win32_font_description_from_logfont;

2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>

        * modules/engins/ms-windows/*: MS Windows style should use pango_win32_font_description_from_logfont;
        Allows us to rip out a lot of potentially buggy code, and also get the font specification from the
        XP theme (#434987)

svn path=/trunk/; revision=21429

17 years agoupdated version number to 2.15.0 for development.
Matthias Clasen [Thu, 18 Sep 2008 14:55:35 +0000 (14:55 +0000)]
updated version number to 2.15.0 for development.

2008-09-18  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: updated version number to 2.15.0 for development.

        * ChangeLog.pre-2-14: rotate ChangeLog

=== Branch for 2.14 ===

svn path=/trunk/; revision=21428

17 years agoFix 2 cases where we leaked a GpImage (#552545)
Dominic Lachowicz [Thu, 18 Sep 2008 14:30:43 +0000 (14:30 +0000)]
Fix 2 cases where we leaked a GpImage (#552545)

2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>

        * io-gdip-utils.c: Fix 2 cases where we leaked a GpImage (#552545)

svn path=/trunk/; revision=21426

17 years agoupdated Kannada ChangeLog
Shankar Prasad [Thu, 18 Sep 2008 12:31:21 +0000 (12:31 +0000)]
updated Kannada ChangeLog

svn path=/trunk/; revision=21425

17 years agoupdated Kannada translation
Shankar Prasad [Thu, 18 Sep 2008 12:30:28 +0000 (12:30 +0000)]
updated Kannada translation

svn path=/trunk/; revision=21424

17 years agoUpdated Arabic Translation by Anas Afif Emad.
Djihed Afifi [Thu, 18 Sep 2008 10:45:22 +0000 (10:45 +0000)]
Updated Arabic Translation by Anas Afif Emad.

* Updated Arabic Translation by Anas Afif Emad.

svn path=/trunk/; revision=21423

17 years agoBump version
Matthias Clasen [Thu, 18 Sep 2008 04:32:47 +0000 (04:32 +0000)]
Bump version

svn path=/trunk/; revision=21422

17 years ago2.14.2
Matthias Clasen [Thu, 18 Sep 2008 04:30:42 +0000 (04:30 +0000)]
2.14.2

svn path=/trunk/; revision=21420

17 years agoUpdates
Matthias Clasen [Thu, 18 Sep 2008 02:52:51 +0000 (02:52 +0000)]
Updates

svn path=/trunk/; revision=21419

17 years agoUpdated Arabic Translation by Anas Afif Emad.
Djihed Afifi [Thu, 18 Sep 2008 02:04:46 +0000 (02:04 +0000)]
Updated Arabic Translation by Anas Afif Emad.

* Updated Arabic Translation by Anas Afif Emad.

svn path=/trunk/; revision=21418

17 years agoBug 346903 – gtk_enumerate_printers needs events to complete
Matthias Clasen [Wed, 17 Sep 2008 22:07:10 +0000 (22:07 +0000)]
Bug 346903 – gtk_enumerate_printers needs events to complete

2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 346903 – gtk_enumerate_printers needs events to complete

        * gtk/gtkprintbackend.h:
        * gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property.

        * modules/printbackends/cups/gtkcupsutils.h:
        * modules/printbackends/cups/gtkcupsutils.c: Turn the connection
        test into a tristate available/unavailable/in progress.

        * modules/printbackends/cups/gtkprintbackendcups.c: Use a single
        connection test instance for getting the default printer and for
        getting the printer list. Set the GtkPrintBackend::status property
        according to the result of the connection test. Use the printer-type
        attribute to find the default printer, if cups supports it.

        * gtk/gtkprinter.c: When enumerating printers, give up when
        the backend status is 'unavailable'.

        * gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer
        when it is the default and nothing else has been selected yet.

svn path=/trunk/; revision=21417

17 years ago Bug 552668 – format not a string literal and no format arguments in
Christian Persch [Wed, 17 Sep 2008 19:56:19 +0000 (19:56 +0000)]
Bug 552668 – format not a string literal and no format arguments in
gtkimmodule

svn path=/trunk/; revision=21416

17 years ago Bug 552667 – gtkimage containing gicon leaks memory
Christian Persch [Wed, 17 Sep 2008 18:09:13 +0000 (18:09 +0000)]
Bug 552667 – gtkimage containing gicon leaks memory

* gtk/gtkimage.c: (ensure_pixbuf_for_gicon): Fix critical warnings
when looking up the icon fails. Plug a mem leak.

svn path=/trunk/; revision=21415

17 years ago Bug 329593 – Entering characters on a line very cpu intensive and
Matthias Clasen [Wed, 17 Sep 2008 16:02:26 +0000 (16:02 +0000)]
    Bug 329593 – Entering characters on a line very cpu intensive and
        slow

        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Return a boolean
        that indicates whether the tab allocation has changed.
        (gtk_notebook_pages_allocate): Only redraw the tabs if their
        allocation has changed.
        (gtk_notebook_calculate_tabs_allocations): Remove unused return value.
        Patch by Owen Taylor

svn path=/trunk/; revision=21414

17 years agoBug 408154 – [PATCH] Change GtkEntryCompletion max-items to style
Matthias Clasen [Wed, 17 Sep 2008 15:22:52 +0000 (15:22 +0000)]
Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style

2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style
        property

        * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
        Take actions into account when finding the available space for
        matches. Patch by Ross Burton

svn path=/trunk/; revision=21413

17 years agoDoc improvements
Matthias Clasen [Wed, 17 Sep 2008 15:13:15 +0000 (15:13 +0000)]
Doc improvements

svn path=/trunk/; revision=21412

17 years agoBug 552107 – Small libtool fixes
Matthias Clasen [Wed, 17 Sep 2008 15:10:30 +0000 (15:10 +0000)]
Bug 552107 – Small libtool fixes

2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 552107 – Small libtool fixes

        * configure.in: Regenerate libtool early, quote $deplibs_check_method.
        Patch by Patryk Zawadzki

svn path=/trunk/; revision=21411

17 years agoBug 551722 – gtk_widget_set_scroll_adjustments() should check the signal
Matthias Clasen [Wed, 17 Sep 2008 15:07:32 +0000 (15:07 +0000)]
Bug 551722 – gtk_widget_set_scroll_adjustments() should check the signal

2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 551722 – gtk_widget_set_scroll_adjustments() should check the
        signal signature

        * gtk/gtkwidget.c (gtk_widget_set_scroll_adjustments): Check the
        signature of the signal. Patch by Christian Persch

svn path=/trunk/; revision=21410

17 years agoUpdated Oriya (or.po) Translation
Manoj Kumar Giri [Wed, 17 Sep 2008 15:00:37 +0000 (15:00 +0000)]
Updated Oriya (or.po) Translation

svn path=/trunk/; revision=21409